package com.diaohaiwen.basic.account.obj.model;

import com.diaohaiwen.framework.db.obj.BaseCUModel;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import lombok.*;

/**
 * 系统账户角色关系表 实体类。
 *
 * @author 刁海文
 * @since 2023-07-20 19:06:16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table(value = "account_role_relation")
public class AccountRoleRelation extends BaseCUModel implements Serializable {

    /**
     * 用户主键ID
     */
    private Long accountId;

    /**
     * 角色主键ID
     */
    private Long roleId;

    /**
     * 角色CODE
     */
    private String roleCode;

}
